
#include <BOpenGL>
#include "member_BListItem.h"
#include "member_BListWidget.h"
#include "member_BStyle.h"

using namespace BWE;

member_BListItem::member_BListItem(BListItem* listItem) : IAlignItem(listItem)
{
	list = 0;
	index = -1;
	visible = true;
	selected = false;
	checked = false;
}
member_BListItem::~member_BListItem()
{

}

void member_BListItem::dirtyList()
{
	if (list)
	{
		dirty = true;
		list_member(list)->dirty = true;
		list->fresh();
	}
}
